package com.itheima.wms.service;

import com.itheima.wms.controller.dto.GoodsPageDto;
import com.itheima.wms.pojo.Goods;
import com.itheima.wms.utils.PageBean;

import java.util.List;

public interface GoodsService {

    PageBean<Goods> goodsPage(GoodsPageDto goodsPageDto);

    void add(Goods goods);

    boolean removeByIds(List<Long> ids);

    Goods getgoodById(Long id);

    void update(Goods goods);
}
